package ywpt.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import ywpt.components.acegi.domain.User;

public class ProjectInfo implements java.io.Serializable {
	
	
	/**
	 * 公司项目
	 */
	private static final long serialVersionUID = -1280443900657771825L;
	private	Long	id;
	private String projectName;		//项目名称
	private CommonTable projectType;//项目类型
	private Department	depart;//所属部门
	private PeopleInfo responser;//项目负责人
	private ClientInfo client;//客户
	private ClientKeshi keshi;//科室
	private ClientLinkman linkman;//客户联系人
	private Date startDate;//开始时间
	private Date endDate;//结束时间
	private Double allPrice;//项目资金
	private CommonTable projectState;//项目状态
	private Boolean deleteFlag;//删除标志
	private String remark;//备注
	private Date createDate;//新增日期
	private User creater;//新增人
	private Date modifyDate;//最后修改日期
	private User modifyer;//最后修改人
	private String people;//参与人
	private int version;
	
	private Set<ProjectScans> projectScans = new HashSet<ProjectScans>(0);
	private Set<ProjectPeople> projectPeoples = new HashSet<ProjectPeople>();
	
	public Set<ProjectPeople> getProjectPeoples() {
		return projectPeoples;
	}

	public void setProjectPeoples(Set<ProjectPeople> projectPeoples) {
		this.projectPeoples = projectPeoples;
	}

	public  ProjectInfo() {
		allPrice = 0.00;
		deleteFlag = false;
		this.people ="1,51,"; 
	}
		
	public Set<ProjectScans> getProjectScans() {
		return projectScans;
	}
	public void setProjectScans(Set<ProjectScans> projectScans) {
		this.projectScans = projectScans;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public CommonTable getProjectType() {
		return projectType;
	}
	public void setProjectType(CommonTable projectType) {
		this.projectType = projectType;
	}
	public Department getDepart() {
		return depart;
	}
	public void setDepart(Department depart) {
		this.depart = depart;
	}

	public PeopleInfo getResponser() {
		return responser;
	}

	public void setResponser(PeopleInfo responser) {
		this.responser = responser;
	}

	public ClientInfo getClient() {
		return client;
	}
	public void setClient(ClientInfo client) {
		this.client = client;
	}
	public ClientKeshi getKeshi() {
		return keshi;
	}
	public void setKeshi(ClientKeshi keshi) {
		this.keshi = keshi;
	}
	public ClientLinkman getLinkman() {
		return linkman;
	}
	public void setLinkman(ClientLinkman linkman) {
		this.linkman = linkman;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
 
	public Double getAllPrice() {
		return allPrice;
	}
	public void setAllPrice(Double allPrice) {
		this.allPrice = allPrice;
	}
	public CommonTable getProjectState() {
		return projectState;
	}
	public void setProjectState(CommonTable projectState) {
		this.projectState = projectState;
	}
	public Boolean getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public User getCreater() {
		return creater;
	}
	public void setCreater(User creater) {
		this.creater = creater;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public User getModifyer() {
		return modifyer;
	}
	public void setModifyer(User modifyer) {
		this.modifyer = modifyer;
	}
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPeople() {
		return people;
	}

	public void setPeople(String people) {
		this.people = people;
	}


}
